﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.Dict;
using Ewell.Interface.Common.Model.GateWay.Dto.Out;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    public class BizSearchComponentDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.dict.service.inter.dubbo.BizSearchComponentDubboService";
        /// <summary>
        /// 2-100051-01 根据代码查询业务检索组件
        /// </summary>
        public GateWayMethod queryBizSearchComponentListByCoding => new QueryBizSearchComponentListByCoding(url);
    }

    public class QueryBizSearchComponentListByCoding : GateWayMethod
    {
        public QueryBizSearchComponentListByCoding(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "queryBizSearchComponentListByCoding";

        public override string paramClass => "co.faao.plugin.transmission.request.MessageHeader";

        public override DubboParamType paramType => DubboParamType.messageheaderDoamin;

        public override Type requestParamType => typeof(QueryBizSearchComponentListReq);

        public override Type responseParamType => typeof(QueryBizSearchComponentListResp);

        public override string desc => "2-100051-01 根据代码查询业务检索组件";
    }
}
